package com.lesson11.waiguan;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/9/2 19:23
 */
public class BaoMiHua
{
    private BaoMiHua(){}

    private static BaoMiHua instance = new BaoMiHua();

    public static BaoMiHua getInstance(){
        return instance;
    }

    public void on(){
        System.out.println("爆米花机on");
    }

    public void off(){
        System.out.println("爆米花机off");
    }

    public void pop(){
        System.out.println("爆米花机pop");
    }
}
